﻿@model Doan.Website.Models.ForgotPassword
@{
    ViewBag.Title = "ForgotPassword";
    Layout = "~/Views/Shared/_Layout_Logon.cshtml";
}



<div class="form-logon clearfix">
    @if (ViewBag.FogotPass != null)
    {
        <div class="alert alert-block fade in alert-error">
            <a href="#" data-dismiss="alert" class="close">&times;</a>
            @ViewBag.FogotPass
        </div>
    }
    @if (ViewBag.FogotPasssuccess != null)
    {
        <div class="alert alert-block fade in alert-success">
            <a href="#" data-dismiss="alert" class="close">&times;</a>
            @ViewBag.FogotPasssuccess
            <br/>
            @Html.ActionLink("Đăng nhập", "Index", "Admin")
        </div>
    }
    @using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post))
    {
        <legend class="span5">Cấp lại mật khẩu</legend>
        <div class="box-logon">
            <div class="editor-label ">
                <span>Tên đăng nhập</span>
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.UserName)
                @Html.ValidationMessageFor(model => model.UserName)
            </div>
            <div class="editor-label ">
                <span>Email</span>
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Email)
                @Html.ValidationMessageFor(model => model.Email)
            </div>
            <div class="btnLogon">
                <input type="submit" value="Đồng ý"  class="btn btn-success btn-large"/>
            </div>
        </div>
    }
</div>